package com.yuzhi.master.drainMsgNotice.mapper;

import com.yuzhi.master.drainMsgNotice.domain.DrainMsgNotice;
import com.yuzhi.master.drainMsgNotice.domain.vo.DrainMsgNoticeVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import com.yuzhi.common.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 消息通知Mapper接口
 *
 * @author coding123
 * @date 2025-08-20
 */
public interface DrainMsgNoticeMapper extends BaseMapperPlus<DrainMsgNoticeMapper, DrainMsgNotice, DrainMsgNoticeVo> {

    Page<DrainMsgNoticeVo> selectPageList(@Param("page") Page<DrainMsgNoticeVo> page, @Param(Constants.WRAPPER) Wrapper<DrainMsgNotice> queryWrapper);

    List<DrainMsgNoticeVo> getAppLastMsgNotice(  @Param("userId") String userId);

}
